import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App';
import { BrowserRouter } from 'react-router-dom';

//国际化
import { ConfigProvider } from 'antd';
import zhCN from 'antd/locale/zh_CN';

import '@/assets/styles/global.less';
import '@/assets/styles/reset.less';

const root = ReactDOM.createRoot(document.getElementById('root')!);
root.render(
  <BrowserRouter>
    <ConfigProvider locale={zhCN}>
      <App />
    </ConfigProvider>
  </BrowserRouter>
);
